home *** CD-ROM | disk | FTP | other *** search
- ## load_image_service
- # Load the image service described in the registry key:
- # Software\\Tomasello Software\\WinCron\\services\img"
- # This entry must have a key named "library" that has a value which is the name of the
- # DLL to load to implement the service.
- # Other optional keys are "module" and "path"
- {
- -name load_image_service
- -start
- -stop
-
- # load the actual service library
- -action -print Loading image Service...
- -action -onerror load_fail
- -action -load -service img
-
- # call the meta function to get the DLL version information
- -action -onerror version_fail
- -action -img IMAGE.VERSION
- -action -print %IMAGE.VERSION%
- }
-
- # load service failed
- {
- -name load_fail
- -action -print Loading the image service failed with error:
- -action -print %TG.LAST_ERROR%
- -action -return abort
- }
-
- # get version failed
- {
- -name version_fail
- -action -print image Library did not implement the standard version call:
- -action -print %TG.LAST_ERROR%
- -action -return abort
- }
-